home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / lib / xulrunner-10.0 / omni.ja / greprefs.js < prev   
Encoding:
Text File  |  2009-12-31  |  88.6 KB  |  2,015 lines

  1. pref("security.enable_ssl3",             true);
  2. pref("security.enable_tls",         true);
  3. pref("security.enable_tls_session_tickets", true);
  4.  
  5. pref("security.ssl.allow_unrestricted_renego_everywhere__temporarily_available_pref", false);
  6. pref("security.ssl.renego_unrestricted_hosts", "");
  7. pref("security.ssl.treat_unsafe_negotiation_as_broken", false);
  8. pref("security.ssl.require_safe_negotiation",  false);
  9. pref("security.ssl.warn_missing_rfc5746",  1);
  10. pref("security.ssl.enable_false_start", false);
  11.  
  12. pref("security.ssl3.rsa_rc4_128_md5", true);
  13. pref("security.ssl3.rsa_rc4_128_sha", true);
  14. pref("security.ssl3.rsa_fips_des_ede3_sha", true);
  15. pref("security.ssl3.rsa_des_ede3_sha", true);
  16. pref("security.ssl3.rsa_fips_des_sha", false);
  17. pref("security.ssl3.rsa_des_sha", false);
  18. pref("security.ssl3.rsa_1024_rc4_56_sha", false);
  19. pref("security.ssl3.rsa_1024_des_cbc_sha", false);
  20. pref("security.ssl3.rsa_rc4_40_md5", false);
  21. pref("security.ssl3.rsa_rc2_40_md5", false);
  22. pref("security.ssl3.dhe_rsa_camellia_256_sha", true);
  23. pref("security.ssl3.dhe_dss_camellia_256_sha", true);
  24. pref("security.ssl3.rsa_camellia_256_sha", true);
  25. pref("security.ssl3.dhe_rsa_camellia_128_sha", true);
  26. pref("security.ssl3.dhe_dss_camellia_128_sha", true);
  27. pref("security.ssl3.rsa_camellia_128_sha", true);
  28. pref("security.ssl3.dhe_rsa_aes_256_sha", true);
  29. pref("security.ssl3.dhe_dss_aes_256_sha", true);
  30. pref("security.ssl3.rsa_aes_256_sha", true);
  31. pref("security.ssl3.ecdhe_ecdsa_aes_256_sha", true);
  32. pref("security.ssl3.ecdhe_ecdsa_aes_128_sha", true);
  33. pref("security.ssl3.ecdhe_ecdsa_des_ede3_sha", true);
  34. pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", true);
  35. pref("security.ssl3.ecdhe_ecdsa_null_sha", false);
  36. pref("security.ssl3.ecdhe_rsa_aes_256_sha", true);
  37. pref("security.ssl3.ecdhe_rsa_aes_128_sha", true);
  38. pref("security.ssl3.ecdhe_rsa_des_ede3_sha", true);
  39. pref("security.ssl3.ecdhe_rsa_rc4_128_sha", true);
  40. pref("security.ssl3.ecdhe_rsa_null_sha", false);
  41. pref("security.ssl3.ecdh_ecdsa_aes_256_sha", true);
  42. pref("security.ssl3.ecdh_ecdsa_aes_128_sha", true);
  43. pref("security.ssl3.ecdh_ecdsa_des_ede3_sha", true);
  44. pref("security.ssl3.ecdh_ecdsa_rc4_128_sha", true);
  45. pref("security.ssl3.ecdh_ecdsa_null_sha", false);
  46. pref("security.ssl3.ecdh_rsa_aes_256_sha", true);
  47. pref("security.ssl3.ecdh_rsa_aes_128_sha", true);
  48. pref("security.ssl3.ecdh_rsa_des_ede3_sha", true);
  49. pref("security.ssl3.ecdh_rsa_rc4_128_sha", true);
  50. pref("security.ssl3.ecdh_rsa_null_sha", false);
  51. pref("security.ssl3.dhe_rsa_aes_128_sha", true);
  52. pref("security.ssl3.dhe_dss_aes_128_sha", true);
  53. pref("security.ssl3.rsa_aes_128_sha", true);
  54. pref("security.ssl3.dhe_rsa_des_ede3_sha", true);
  55. pref("security.ssl3.dhe_dss_des_ede3_sha", true);
  56. pref("security.ssl3.dhe_rsa_des_sha", false);
  57. pref("security.ssl3.dhe_dss_des_sha", false);
  58. pref("security.ssl3.rsa_null_sha", false);
  59. pref("security.ssl3.rsa_null_md5", false);
  60. pref("security.ssl3.rsa_seed_sha", true);
  61.  
  62. pref("security.default_personal_cert",   "Ask Every Time");
  63. pref("security.remember_cert_checkbox_default_setting", true);
  64. pref("security.ask_for_password",        0);
  65. pref("security.password_lifetime",       30);
  66. pref("security.warn_entering_secure",    false);
  67. pref("security.warn_entering_weak",      true);
  68. pref("security.warn_leaving_secure",     false);
  69. pref("security.warn_viewing_mixed",      true);
  70. pref("security.warn_submit_insecure",    false);
  71.  
  72. pref("security.OCSP.enabled", 1);
  73. pref("security.OCSP.require", false);
  74. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  75. /* ***** BEGIN LICENSE BLOCK *****
  76.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  77.  *
  78.  * The contents of this file are subject to the Mozilla Public License Version
  79.  * 1.1 (the "License"); you may not use this file except in compliance with
  80.  * the License. You may obtain a copy of the License at
  81.  * http://www.mozilla.org/MPL/
  82.  *
  83.  * Software distributed under the License is distributed on an "AS IS" basis,
  84.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  85.  * for the specific language governing rights and limitations under the
  86.  * License.
  87.  *
  88.  * The Original Code is mozilla.org code.
  89.  *
  90.  * The Initial Developer of the Original Code is
  91.  * Netscape Communications Corporation.
  92.  * Portions created by the Initial Developer are Copyright (C) 1998
  93.  * the Initial Developer. All Rights Reserved.
  94.  *
  95.  * Contributor(s):
  96.  *   Benjamin Smedberg <bsmedberg@covad.net>
  97.  *
  98.  * Alternatively, the contents of this file may be used under the terms of
  99.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  100.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  101.  * in which case the provisions of the GPL or the LGPL are applicable instead
  102.  * of those above. If you wish to allow use of your version of this file only
  103.  * under the terms of either the GPL or the LGPL, and not to allow others to
  104.  * use your version of this file under the terms of the MPL, indicate your
  105.  * decision by deleting the provisions above and replace them with the notice
  106.  * and other provisions required by the GPL or the LGPL. If you do not delete
  107.  * the provisions above, a recipient may use your version of this file under
  108.  * the terms of any one of the MPL, the GPL or the LGPL.
  109.  *
  110.  * ***** END LICENSE BLOCK ***** */
  111.  
  112. /* The prefs in this file are shipped with the GRE and should apply to all
  113.  * embedding situations. Application-specific preferences belong somewhere else,
  114.  * for example xpfe/bootstrap/browser-prefs.js
  115.  *
  116.  * Platform-specific #ifdefs at the end of this file override the generic
  117.  * entries at the top.
  118.  */
  119.  
  120. // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
  121. //  The first character after a period must be alphabetic.
  122.  
  123. pref("keyword.URL", "http://www.google.com/search?ie=UTF-8&oe=utf-8&q=");
  124. pref("keyword.enabled", false);
  125. pref("general.useragent.locale", "chrome://global/locale/intl.properties");
  126. pref("general.useragent.compatMode.firefox", false);
  127.  
  128. pref("general.config.obscure_value", 13); // for MCD .cfg files
  129.  
  130. pref("general.warnOnAboutConfig", true);
  131.  
  132. // maximum number of dated backups to keep at any time
  133. pref("browser.bookmarks.max_backups",       5);
  134.  
  135. pref("browser.cache.disk.enable",           true);
  136. // Is this the first-time smartsizing has been introduced?
  137. pref("browser.cache.disk.smart_size.first_run", true);
  138. // Does the user want smart-sizing?
  139. pref("browser.cache.disk.smart_size.enabled", true);
  140. // Size (in KB) explicitly set by the user. Used when smart_size.enabled == false
  141. pref("browser.cache.disk.capacity",         256000);
  142. // Max-size (in KB) for entries in disk cache. Set to -1 for no limit.
  143. // (Note: entries bigger than 1/8 of disk-cache are never cached)
  144. pref("browser.cache.disk.max_entry_size",    51200);  // 50 MB
  145. pref("browser.cache.memory.enable",         true);
  146. // -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes
  147. //pref("browser.cache.memory.capacity",     -1);
  148. // Max-size (in KB) for entries in memory cache. Set to -1 for no limit.  
  149. // (Note: entries bigger than than 90% of the mem-cache are never cached)
  150. pref("browser.cache.memory.max_entry_size",  5120);
  151. pref("browser.cache.disk_cache_ssl",        true);
  152. // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
  153. pref("browser.cache.check_doc_frequency",   3);
  154.  
  155. pref("browser.cache.offline.enable",           true);
  156.  
  157. // offline cache capacity in kilobytes
  158. pref("browser.cache.offline.capacity",         512000);
  159.  
  160. // offline apps should be limited to this much data in global storage
  161. // (in kilobytes)
  162. pref("offline-apps.quota.max",        204800);
  163.  
  164. // the user should be warned if offline app disk usage exceeds this amount
  165. // (in kilobytes)
  166. pref("offline-apps.quota.warn",        51200);
  167.  
  168. // Whether or not indexedDB is enabled.
  169. pref("dom.indexedDB.enabled", true);
  170. // Space to allow indexedDB databases before prompting (in MB).
  171. pref("dom.indexedDB.warningQuota", 50);
  172.  
  173. // Whether or not Web Workers are enabled.
  174. pref("dom.workers.enabled", true);
  175. // The number of workers per domain allowed to run concurrently.
  176. pref("dom.workers.maxPerDomain", 20);
  177.  
  178. // Whether window.performance is enabled
  179. pref("dom.enable_performance", true);
  180.  
  181. // Fastback caching - if this pref is negative, then we calculate the number
  182. // of content viewers to cache based on the amount of available memory.
  183. pref("browser.sessionhistory.max_total_viewers", -1);
  184.  
  185. pref("ui.use_native_colors", true);
  186. pref("ui.click_hold_context_menus", false);
  187. pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
  188. pref("browser.display.use_document_colors", true);
  189. pref("browser.display.use_system_colors",   false);
  190. pref("browser.display.foreground_color",    "#000000");
  191. pref("browser.display.background_color",    "#FFFFFF");
  192. pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
  193. // 0 = no external leading, 
  194. // 1 = use external leading only when font provides, 
  195. // 2 = add extra leading both internal leading and external leading are zero
  196. pref("browser.display.normal_lineheight_calc_control", 2);
  197. pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
  198. // min font device pixel size at which to turn on high quality
  199. pref("browser.display.auto_quality_min_font_size", 20);
  200. pref("browser.anchor_color",                "#0000EE");
  201. pref("browser.active_color",                "#EE0000");
  202. pref("browser.visited_color",               "#551A8B");
  203. pref("browser.underline_anchors",           true);
  204. pref("browser.blink_allowed",               true);
  205. pref("browser.enable_automatic_image_resizing", false);
  206. pref("browser.enable_click_image_resizing", true);
  207.  
  208. // See http://dev.w3.org/html5/spec/forms.html#attr-fe-autofocus
  209. pref("browser.autofocus", true);
  210.  
  211. // See http://whatwg.org/specs/web-apps/current-work/#ping
  212. pref("browser.send_pings", false);
  213. pref("browser.send_pings.max_per_link", 1);           // limit the number of pings that are sent per link click
  214. pref("browser.send_pings.require_same_host", false);  // only send pings to the same host if this is true
  215.  
  216. pref("browser.display.use_focus_colors",    false);
  217. pref("browser.display.focus_background_color", "#117722");
  218. pref("browser.display.focus_text_color",     "#ffffff");
  219. pref("browser.display.focus_ring_width",     1);
  220. pref("browser.display.focus_ring_on_anything", false);
  221. // focus ring border style.
  222. // 0 = solid border, 1 = dotted border
  223. pref("browser.display.focus_ring_style", 1);
  224.  
  225. pref("browser.helperApps.alwaysAsk.force",  false);
  226. pref("browser.helperApps.neverAsk.saveToDisk", "");
  227. pref("browser.helperApps.neverAsk.openFile", "");
  228.  
  229. // xxxbsmedberg: where should prefs for the toolkit go?
  230. pref("browser.chrome.toolbar_tips",         true);
  231. // 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
  232. pref("browser.chrome.toolbar_style",        2);
  233. // max image size for which it is placed in the tab icon for tabbrowser.
  234. // if 0, no images are used for tab icons for image documents.
  235. pref("browser.chrome.image_icons.max_size", 1024);
  236.  
  237. pref("browser.triple_click_selects_paragraph", true);
  238.  
  239. // When loading <video> or <audio>, check for Access-Control-Allow-Origin
  240. // header, and disallow the connection if not present or permitted.
  241. pref("media.enforce_same_site_origin", false);
  242.  
  243. // Media cache size in kilobytes
  244. pref("media.cache_size", 512000);
  245.  
  246. // Master HTML5 media volume scale.
  247. pref("media.volume_scale", "1.0");
  248.  
  249. //@line 180 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  250. pref("media.ogg.enabled", true);
  251. //@line 183 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  252. pref("media.wave.enabled", true);
  253. //@line 186 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  254. pref("media.webm.enabled", true);
  255. //@line 188 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  256.  
  257. // Whether to autostart a media element with an |autoplay| attribute
  258. pref("media.autoplay.enabled", true);
  259.  
  260. // 0 = Off, 1 = Full, 2 = Tagged Images Only. 
  261. // See eCMSMode in gfx/thebes/gfxPlatform.h
  262. pref("gfx.color_management.mode", 2);
  263. pref("gfx.color_management.display_profile", "");
  264. pref("gfx.color_management.rendering_intent", 0);
  265. pref("gfx.color_management.enablev4", false);
  266.  
  267. pref("gfx.downloadable_fonts.enabled", true);
  268. pref("gfx.downloadable_fonts.fallback_delay", 3000);
  269. pref("gfx.downloadable_fonts.sanitize", true);
  270.  
  271. // see gfx/thebes/gfxUnicodeProperties.h for definitions of script bits
  272. //@line 211 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  273. // use harfbuzz for default (0x01) + arabic (0x02)
  274. pref("gfx.font_rendering.harfbuzz.scripts", 3);
  275. //@line 215 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  276.  
  277. //@line 220 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  278.  
  279. //@line 224 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  280.  
  281. pref("accessibility.browsewithcaret", false);
  282. pref("accessibility.warn_on_browsewithcaret", true);
  283.  
  284. pref("accessibility.browsewithcaret_shortcut.enabled", true);
  285.  
  286. //@line 231 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  287. // Tab focus model bit field:
  288. // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
  289. // Most users will want 1, 3, or 7.
  290. // On OS X, we use Full Keyboard Access system preference,
  291. // unless accessibility.tabfocus is set by the user.
  292. pref("accessibility.tabfocus", 7);
  293. pref("accessibility.tabfocus_applies_to_xul", false);
  294.  
  295. // Forcibly disable a11y on win32, even if something attempts
  296. // to enable it.
  297. pref("accessibility.win32.force_disabled", false);
  298.  
  299. // On OS X, we follow the "Click in the scrollbar to:" system preference
  300. // unless this preference was set manually
  301. pref("ui.scrollToClick", 0);
  302.  
  303. //@line 251 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  304.  
  305. pref("focusmanager.testmode", false);
  306.  
  307. pref("accessibility.usetexttospeech", "");
  308. pref("accessibility.usebrailledisplay", "");
  309. pref("accessibility.accesskeycausesactivation", true);
  310. pref("accessibility.mouse_focuses_formcontrol", false);
  311.  
  312. // Type Ahead Find
  313. pref("accessibility.typeaheadfind", true);
  314. pref("accessibility.typeaheadfind.autostart", true);
  315. // casesensitive: controls the find bar's case-sensitivity
  316. //     0 - "never"  (case-insensitive)
  317. //     1 - "always" (case-sensitive)
  318. // other - "auto"   (case-sensitive for mixed-case input, insensitive otherwise)
  319. pref("accessibility.typeaheadfind.casesensitive", 0);
  320. pref("accessibility.typeaheadfind.linksonly", true);
  321. pref("accessibility.typeaheadfind.startlinksonly", false);
  322. pref("accessibility.typeaheadfind.timeout", 4000);
  323. pref("accessibility.typeaheadfind.enabletimeout", true);
  324. pref("accessibility.typeaheadfind.soundURL", "beep");
  325. pref("accessibility.typeaheadfind.enablesound", true);
  326. pref("accessibility.typeaheadfind.prefillwithselection", true);
  327.  
  328. // use Mac OS X Appearance panel text smoothing setting when rendering text, disabled by default
  329. pref("gfx.use_text_smoothing_setting", false);
  330.  
  331. // loading and rendering of framesets and iframes
  332. pref("browser.frames.enabled", true);
  333.  
  334. // Number of characters to consider emphasizing for rich autocomplete results
  335. pref("toolkit.autocomplete.richBoundaryCutoff", 200);
  336.  
  337. pref("toolkit.scrollbox.smoothScroll", true);
  338. pref("toolkit.scrollbox.scrollIncrement", 20);
  339. pref("toolkit.scrollbox.clickToScroll.scrollDelay", 150);
  340.  
  341. // Telemetry
  342. pref("toolkit.telemetry.enabled", false);
  343. pref("toolkit.telemetry.server", "https://data.mozilla.com");
  344. // Telemetry server owner. Please change if you set toolkit.telemetry.server to a different server
  345. pref("toolkit.telemetry.server_owner", "Mozilla");
  346. // Information page about telemetry (temporary ; will be about:telemetry in the end)
  347. pref("toolkit.telemetry.infoURL", "http://www.mozilla.com/legal/privacy/firefox.html#telemetry");
  348.  
  349. // view source
  350. pref("view_source.syntax_highlight", true);
  351. pref("view_source.wrap_long_lines", false);
  352. pref("view_source.editor.external", false);
  353. pref("view_source.editor.path", "");
  354. // allows to add further arguments to the editor; use the %LINE% placeholder
  355. // for jumping to a specific line (e.g. "/line:%LINE%" or "--goto %LINE%")
  356. pref("view_source.editor.args", "");
  357.  
  358. // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
  359. pref("nglayout.events.dispatchLeftClickOnly", true);
  360.  
  361. // whether or not to draw images while dragging
  362. pref("nglayout.enable_drag_images", true);
  363.  
  364. // scrollbar snapping region
  365. // 0 - off
  366. // 1 and higher - slider thickness multiple
  367. pref("slider.snapMultiplier", 0);
  368.  
  369. // option to choose plug-in finder
  370. pref("application.use_ns_plugin_finder", false);
  371.  
  372. // URI fixup prefs
  373. pref("browser.fixup.alternate.enabled", true);
  374. pref("browser.fixup.alternate.prefix", "www.");
  375. pref("browser.fixup.alternate.suffix", ".com");
  376. pref("browser.fixup.hide_user_pass", true);
  377.  
  378. // Location Bar AutoComplete
  379. pref("browser.urlbar.autocomplete.enabled", true);
  380.  
  381. // Print header customization
  382. // Use the following codes:
  383. // &T - Title
  384. // &U - Document URL
  385. // &D - Date/Time
  386. // &P - Page Number
  387. // &PT - Page Number "of" Page total
  388. // Set each header to a string containing zero or one of these codes
  389. // and the code will be replaced in that string by the corresponding data
  390. pref("print.print_headerleft", "&T");
  391. pref("print.print_headercenter", "");
  392. pref("print.print_headerright", "&U");
  393. pref("print.print_footerleft", "&PT");
  394. pref("print.print_footercenter", "");
  395. pref("print.print_footerright", "&D");
  396. pref("print.show_print_progress", true);
  397.  
  398. // xxxbsmedberg: more toolkit prefs
  399.  
  400. // When this is set to false each window has its own PrintSettings
  401. // and a change in one window does not affect the others
  402. pref("print.use_global_printsettings", true);
  403.  
  404. // Save the Printings after each print job
  405. pref("print.save_print_settings", true);
  406.  
  407. pref("print.whileInPrintPreview", true);
  408.  
  409. // Cache old Presentation when going into Print Preview
  410. pref("print.always_cache_old_pres", false);
  411.  
  412. // Enables you to specify the amount of the paper that is to be treated
  413. // as unwriteable.  The print_edge_XXX and print_margin_XXX preferences
  414. // are treated as offsets that are added to this pref.
  415. // Default is "-1", which means "use the system default".  (If there is
  416. // no system default, then the -1 is treated as if it were 0.)
  417. // This is used by both Printing and Print Preview.
  418. // Units are in 1/100ths of an inch.
  419. pref("print.print_unwriteable_margin_top",    -1);
  420. pref("print.print_unwriteable_margin_left",   -1);
  421. pref("print.print_unwriteable_margin_right",  -1);
  422. pref("print.print_unwriteable_margin_bottom", -1);
  423.  
  424. // Enables you to specify the gap from the edge of the paper's 
  425. // unwriteable area to the margin.
  426. // This is used by both Printing and Print Preview
  427. // Units are in 1/100ths of an inch.
  428. pref("print.print_edge_top", 0);
  429. pref("print.print_edge_left", 0);
  430. pref("print.print_edge_right", 0);
  431. pref("print.print_edge_bottom", 0);
  432.  
  433. // Pref used by the spellchecker extension to control the 
  434. // maximum number of misspelled words that will be underlined
  435. // in a document.
  436. pref("extensions.spellcheck.inline.max-misspellings", 500);
  437.  
  438. // Prefs used by libeditor. Prefs specific to seamonkey composer
  439. // belong in comm-central/editor/ui/composer.js
  440.  
  441. pref("editor.use_custom_colors", false);
  442. pref("editor.singleLine.pasteNewlines",      2);
  443. pref("editor.quotesPreformatted",            false);
  444. pref("editor.use_css",                       true);
  445. pref("editor.css.default_length_unit",       "px");
  446. pref("editor.resizing.preserve_ratio",       true);
  447. pref("editor.positioning.offset",            0);
  448.  
  449.  
  450. // Default Capability Preferences: Security-Critical! 
  451. // Editing these may create a security risk - be sure you know what you're doing
  452. //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
  453.  
  454. pref("capability.policy.default_policynames", "mailnews");
  455.  
  456. pref("capability.policy.default.DOMException.code", "allAccess");
  457. pref("capability.policy.default.DOMException.message", "allAccess");
  458. pref("capability.policy.default.DOMException.name", "allAccess");
  459. pref("capability.policy.default.DOMException.result", "allAccess");
  460. pref("capability.policy.default.DOMException.toString.get", "allAccess");
  461.  
  462. pref("capability.policy.default.History.back.get", "allAccess");
  463. pref("capability.policy.default.History.current", "UniversalBrowserRead");
  464. pref("capability.policy.default.History.forward.get", "allAccess");
  465. pref("capability.policy.default.History.go.get", "allAccess");
  466. pref("capability.policy.default.History.item", "UniversalBrowserRead");
  467. pref("capability.policy.default.History.next", "UniversalBrowserRead");
  468. pref("capability.policy.default.History.previous", "UniversalBrowserRead");
  469. pref("capability.policy.default.History.toString", "UniversalBrowserRead");
  470.  
  471. pref("capability.policy.default.Location.hash.set", "allAccess");
  472. pref("capability.policy.default.Location.href.set", "allAccess");
  473. pref("capability.policy.default.Location.replace.get", "allAccess");
  474.  
  475. pref("capability.policy.default.Navigator.preference", "allAccess");
  476. pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
  477. pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
  478.  
  479. pref("capability.policy.default.Window.blur.get", "allAccess");
  480. pref("capability.policy.default.Window.close.get", "allAccess");
  481. pref("capability.policy.default.Window.closed.get", "allAccess");
  482. pref("capability.policy.default.Window.focus.get", "allAccess");
  483. pref("capability.policy.default.Window.frames.get", "allAccess");
  484. pref("capability.policy.default.Window.history.get", "allAccess");
  485. pref("capability.policy.default.Window.length.get", "allAccess");
  486. pref("capability.policy.default.Window.location", "allAccess");
  487. pref("capability.policy.default.Window.opener.get", "allAccess");
  488. pref("capability.policy.default.Window.parent.get", "allAccess");
  489. pref("capability.policy.default.Window.postMessage.get", "allAccess");
  490. pref("capability.policy.default.Window.self.get", "allAccess");
  491. pref("capability.policy.default.Window.top.get", "allAccess");
  492. pref("capability.policy.default.Window.window.get", "allAccess");
  493.  
  494. pref("capability.policy.default.Selection.addSelectionListener", "UniversalXPConnect");
  495. pref("capability.policy.default.Selection.removeSelectionListener", "UniversalXPConnect");
  496.  
  497. // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
  498. pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
  499.  
  500. pref("capability.policy.mailnews.*.attributes.get", "noAccess");
  501. pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
  502. pref("capability.policy.mailnews.*.data.get", "noAccess");
  503. pref("capability.policy.mailnews.*.getAttribute", "noAccess");
  504. pref("capability.policy.mailnews.HTMLDivElement.getAttribute", "sameOrigin");
  505. pref("capability.policy.mailnews.*.getAttributeNS", "noAccess");
  506. pref("capability.policy.mailnews.*.getAttributeNode", "noAccess");
  507. pref("capability.policy.mailnews.*.getAttributeNodeNS", "noAccess");
  508. pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
  509. pref("capability.policy.mailnews.*.getNamedItemNS", "noAccess");
  510. pref("capability.policy.mailnews.*.host.get", "noAccess");
  511. pref("capability.policy.mailnews.*.hostname.get", "noAccess");
  512. pref("capability.policy.mailnews.*.href.get", "noAccess");
  513. pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
  514. pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
  515. pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
  516. pref("capability.policy.mailnews.*.pathname.get", "noAccess");
  517. pref("capability.policy.mailnews.*.protocol.get", "noAccess");
  518. pref("capability.policy.mailnews.*.src.get", "noAccess");
  519. pref("capability.policy.mailnews.*.substringData.get", "noAccess");
  520. pref("capability.policy.mailnews.*.text.get", "noAccess");
  521. pref("capability.policy.mailnews.*.textContent", "noAccess");
  522. pref("capability.policy.mailnews.*.title.get", "noAccess");
  523. pref("capability.policy.mailnews.*.wholeText", "noAccess");
  524. pref("capability.policy.mailnews.DOMException.toString", "noAccess");
  525. pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
  526. pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
  527. pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
  528. pref("capability.policy.mailnews.*.documentURI", "noAccess");
  529. pref("capability.policy.mailnews.Location.toString", "noAccess");
  530. pref("capability.policy.mailnews.Range.toString", "noAccess");
  531. pref("capability.policy.mailnews.Window.blur", "noAccess");
  532. pref("capability.policy.mailnews.Window.focus", "noAccess");
  533. pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
  534. pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
  535. pref("capability.policy.mailnews.Window.moveBy", "noAccess");
  536. pref("capability.policy.mailnews.Window.moveTo", "noAccess");
  537. pref("capability.policy.mailnews.Window.name.set", "noAccess");
  538. pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
  539. pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
  540. pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
  541. pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
  542. pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
  543. pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
  544. pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
  545. pref("capability.policy.mailnews.document.load", "noAccess");
  546. pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
  547. pref("capability.policy.mailnews.XMLHttpRequest.getInterface", "noAccess");
  548. pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
  549. pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
  550. pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
  551. pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
  552. pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
  553. pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
  554. pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
  555. pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
  556. pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
  557. pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
  558. pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
  559. pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
  560. pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
  561. pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
  562. pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
  563. pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
  564. pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
  565. pref("capability.policy.mailnews.DOMParser.parseFromString", "noAccess");
  566. pref("capability.policy.mailnews.DOMParser.parseFromStream", "noAccess");
  567. pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
  568. pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
  569. pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
  570. pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
  571. pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
  572. pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
  573. pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
  574. pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
  575. pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
  576. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  577. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  578. pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
  579. pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
  580. pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
  581. pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
  582. pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
  583. pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
  584. pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
  585. pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
  586. pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
  587. pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
  588. pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
  589. pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
  590. pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
  591. pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
  592. pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
  593. pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
  594. pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
  595. pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
  596. pref("capability.policy.mailnews.SOAPParameter", "noAccess");
  597. pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
  598. pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
  599. pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
  600. pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
  601. pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
  602. pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
  603. pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
  604. pref("capability.policy.mailnews.WSDLLoader.load", "noAccess");
  605. pref("capability.policy.mailnews.WSDLLoader.loadAsync", "noAccess");
  606. pref("capability.policy.mailnews.WSDLLoader.onLoad", "noAccess");
  607. pref("capability.policy.mailnews.WSDLLoader.onError", "noAccess");
  608. pref("capability.policy.mailnews.WebServiceProxyFactory.createProxy", "noAccess");
  609. pref("capability.policy.mailnews.WebServiceProxyFactory.createProxyAsync", "noAccess");
  610. pref("capability.policy.mailnews.WebServiceProxyFactory.onLoad", "noAccess");
  611. pref("capability.policy.mailnews.WebServiceProxyFactory.onError", "noAccess");
  612.  
  613. // XMLExtras
  614. pref("capability.policy.default.XMLHttpRequest.channel", "noAccess");
  615. pref("capability.policy.default.XMLHttpRequest.getInterface", "noAccess");
  616. pref("capability.policy.default.XMLHttpRequest.open-uri", "allAccess");
  617. pref("capability.policy.default.DOMParser.parseFromStream", "noAccess");
  618.  
  619. // Clipboard
  620. pref("capability.policy.default.Clipboard.cutcopy", "noAccess");
  621. pref("capability.policy.default.Clipboard.paste", "noAccess");
  622.  
  623. // Scripts & Windows prefs
  624. pref("dom.disable_image_src_set",           false);
  625. pref("dom.disable_window_flip",             false);
  626. pref("dom.disable_window_move_resize",      false);
  627. pref("dom.disable_window_status_change",    false);
  628.  
  629. pref("dom.disable_window_open_feature.titlebar",    false);
  630. pref("dom.disable_window_open_feature.close",       false);
  631. pref("dom.disable_window_open_feature.toolbar",     false);
  632. pref("dom.disable_window_open_feature.location",    false);
  633. pref("dom.disable_window_open_feature.personalbar", false);
  634. pref("dom.disable_window_open_feature.menubar",     false);
  635. pref("dom.disable_window_open_feature.scrollbars",  false);
  636. pref("dom.disable_window_open_feature.resizable",   true);
  637. pref("dom.disable_window_open_feature.minimizable", false);
  638. pref("dom.disable_window_open_feature.status",      true);
  639.  
  640. pref("dom.allow_scripts_to_close_windows",          false);
  641.  
  642. pref("dom.disable_open_during_load",                false);
  643. pref("dom.popup_maximum",                           20);
  644. pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit");
  645. pref("dom.disable_open_click_delay", 1000);
  646.  
  647. pref("dom.storage.enabled", true);
  648. pref("dom.storage.default_quota",      5120);
  649.  
  650. pref("dom.send_after_paint_to_content", false);
  651.  
  652. // Timeout clamp in ms for timeouts we clamp
  653. pref("dom.min_timeout_value", 4);
  654. // And for background windows
  655. pref("dom.min_background_timeout_value", 1000);
  656.  
  657. // Use the new DOM bindings (only affects any scopes created after the pref is
  658. // changed)
  659. pref("dom.new_bindings", true);
  660.  
  661. // Parsing perf prefs. For now just mimic what the old code did.
  662. //@line 610 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  663. pref("content.sink.pending_event_mode", 0);
  664. //@line 612 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  665.  
  666. // Disable popups from plugins by default
  667. //   0 = openAllowed
  668. //   1 = openControlled
  669. //   2 = openAbused
  670. pref("privacy.popups.disable_from_plugins", 2);
  671.  
  672. // "do not track" HTTP header, disabled by default
  673. pref("privacy.donottrackheader.enabled",    false);
  674.  
  675. pref("dom.event.contextmenu.enabled",       true);
  676.  
  677. pref("javascript.enabled",                  true);
  678. pref("javascript.options.strict",           false);
  679. //@line 629 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  680. pref("javascript.options.relimit",          true);
  681. pref("javascript.options.showInConsole",    true);
  682. pref("javascript.options.tracejit.content",  false);
  683. pref("javascript.options.tracejit.chrome",   false);
  684. pref("javascript.options.methodjit.content", true);
  685. pref("javascript.options.methodjit.chrome",  true);
  686. pref("javascript.options.jitprofiling.content", true);
  687. pref("javascript.options.jitprofiling.chrome",  true);
  688. pref("javascript.options.pccounts.content", false);
  689. pref("javascript.options.pccounts.chrome",  false);
  690. pref("javascript.options.methodjit_always", false);
  691. pref("javascript.options.typeinference", true);
  692. // This preference limits the memory usage of javascript.
  693. // If you want to change these values for your device,
  694. // please find Bug 417052 comment 17 and Bug 456721
  695. // Comment 32 and Bug 613551.
  696. pref("javascript.options.mem.high_water_mark", 128);
  697. pref("javascript.options.mem.max", -1);
  698. pref("javascript.options.mem.gc_per_compartment", true);
  699. pref("javascript.options.mem.log", false);
  700. pref("javascript.options.gc_on_memory_pressure", true);
  701.  
  702. // advanced prefs
  703. pref("advanced.mailftp",                    false);
  704. pref("image.animation_mode",                "normal");
  705.  
  706. // Same-origin policy for file URIs, "false" is traditional
  707. pref("security.fileuri.strict_origin_policy", true);
  708.  
  709. // If there is ever a security firedrill that requires
  710. // us to block certian ports global, this is the pref 
  711. // to use.  Is is a comma delimited list of port numbers
  712. // for example:
  713. //   pref("network.security.ports.banned", "1,2,3,4,5");
  714. // prevents necko connecting to ports 1-5 unless the protocol
  715. // overrides.
  716.  
  717. // Default action for unlisted external protocol handlers
  718. pref("network.protocol-handler.external-default", true);      // OK to load
  719. pref("network.protocol-handler.warn-external-default", true); // warn before load
  720.  
  721. // Prevent using external protocol handlers for these schemes
  722. pref("network.protocol-handler.external.hcp", false);
  723. pref("network.protocol-handler.external.vbscript", false);
  724. pref("network.protocol-handler.external.javascript", false);
  725. pref("network.protocol-handler.external.data", false);
  726. pref("network.protocol-handler.external.ms-help", false);
  727. pref("network.protocol-handler.external.shell", false);
  728. pref("network.protocol-handler.external.vnd.ms.radio", false);
  729. //@line 681 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  730. pref("network.protocol-handler.external.disk", false);
  731. pref("network.protocol-handler.external.disks", false);
  732. pref("network.protocol-handler.external.afp", false);
  733. pref("network.protocol-handler.external.moz-icon", false);
  734.  
  735. // An exposed protocol handler is one that can be used in all contexts.  A
  736. // non-exposed protocol handler is one that can only be used internally by the
  737. // application.  For example, a non-exposed protocol would not be loaded by the
  738. // application in response to a link click or a X-remote openURL command.
  739. // Instead, it would be deferred to the system's external protocol handler.
  740. // Only internal/built-in protocol handlers can be marked as exposed.
  741.  
  742. // This pref controls the default settings.  Per protocol settings can be used
  743. // to override this value.
  744. pref("network.protocol-handler.expose-all", true);
  745.  
  746. // Example: make IMAP an exposed protocol
  747. // pref("network.protocol-handler.expose.imap", true);
  748.  
  749. // <http>
  750. pref("network.http.version", "1.1");      // default
  751. // pref("network.http.version", "1.0");   // uncomment this out in case of problems
  752. // pref("network.http.version", "0.9");   // it'll work too if you're crazy
  753. // keep-alive option is effectively obsolete. Nevertheless it'll work with
  754. // some older 1.0 servers:
  755.  
  756. pref("network.http.proxy.version", "1.1");    // default
  757. // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
  758.                                               // (required if using junkbuster proxy)
  759.  
  760. // enable caching of http documents
  761. pref("network.http.use-cache", true);
  762.  
  763. // this preference can be set to override the socket type used for normal
  764. // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
  765. pref("network.http.default-socket-type", "");
  766.  
  767. pref("network.http.keep-alive", true); // set it to false in case of problems
  768. pref("network.http.proxy.keep-alive", true);
  769. // There is a problem with some IIS7 servers that don't close the connection
  770. // properly after it times out (bug #491541). Default timeout on IIS7 is
  771. // 120 seconds. We need to reuse or drop the connection within this time.
  772. // We set the timeout a little shorter to keep a reserve for cases when
  773. // the packet is lost or delayed on the route.
  774. pref("network.http.keep-alive.timeout", 115);
  775.  
  776. // Limit the absolute number of http connections.
  777. // Note: the socket transport service will clamp the number below 256 if the OS
  778. // cannot allocate that many FDs, and it also always tries to reserve up to 250
  779. // file descriptors for things other than sockets.   
  780. pref("network.http.max-connections", 256);
  781.  
  782. // limit the absolute number of http connections that can be established per
  783. // host.  if a http proxy server is enabled, then the "server" is the proxy
  784. // server.  Otherwise, "server" is the http origin server.
  785. pref("network.http.max-connections-per-server", 15);
  786.  
  787. // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
  788. // a new connection will only be attempted if the number of active persistent
  789. // connections to the server is less then max-persistent-connections-per-server.
  790. pref("network.http.max-persistent-connections-per-server", 6);
  791.  
  792. // if network.http.keep-alive is true, and if connecting via a proxy, then a
  793. // new connection will only be attempted if the number of active persistent
  794. // connections to the proxy is less then max-persistent-connections-per-proxy.
  795. pref("network.http.max-persistent-connections-per-proxy", 8);
  796.  
  797. // amount of time (in seconds) to suspend pending requests, before spawning a
  798. // new connection, once the limit on the number of persistent connections per
  799. // host has been reached.  however, a new connection will not be created if
  800. // max-connections or max-connections-per-server has also been reached.
  801. pref("network.http.request.max-start-delay", 10);
  802.  
  803. // Headers
  804. pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
  805. pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
  806.  
  807. // Controls whether we send HTTPS referres to other HTTPS sites.
  808. // By default this is enabled for compatibility (see bug 141641)
  809. pref("network.http.sendSecureXSiteReferrer", true);
  810.  
  811. // Maximum number of consecutive redirects before aborting.
  812. pref("network.http.redirection-limit", 20);
  813.  
  814. // Enable http compression: comment this out in case of problems with 1.1
  815. // NOTE: support for "compress" has been disabled per bug 196406.
  816. // NOTE: separate values with comma+space (", "): see bug 576033
  817. pref("network.http.accept-encoding", "gzip, deflate");
  818.  
  819. pref("network.http.pipelining"      , false);
  820. pref("network.http.pipelining.ssl"  , false); // disable pipelining over SSL
  821. pref("network.http.proxy.pipelining", false);
  822.  
  823. // Max number of requests in the pipeline
  824. pref("network.http.pipelining.maxrequests" , 4);
  825.  
  826. // Prompt for 307 redirects
  827. pref("network.http.prompt-temp-redirect", true);
  828.  
  829. // On networks deploying QoS, it is recommended that these be lockpref()'d,
  830. // since inappropriate marking can easily overwhelm bandwidth reservations
  831. // for certain services (i.e. EF for VoIP, AF4x for interactive video,
  832. // AF3x for broadcast/streaming video, etc)
  833.  
  834. // default value for HTTP
  835. // in a DSCP environment this should be 40 (0x28, or AF11), per RFC-4594,
  836. // Section 4.8 "High-Throughput Data Service Class"
  837. pref("network.http.qos", 0);
  838.  
  839. // The number of milliseconds after sending a SYN for an HTTP connection,
  840. // to wait before trying a different connection. 0 means do not use a second
  841. // connection.
  842. pref("network.http.connection-retry-timeout", 250);
  843.  
  844. // Disable IPv6 for backup connections to workaround problems about broken
  845. // IPv6 connectivity.
  846. pref("network.http.fast-fallback-to-IPv4", true);
  847.  
  848. // default values for FTP
  849. // in a DSCP environment this should be 40 (0x28, or AF11), per RFC-4594,
  850. // Section 4.8 "High-Throughput Data Service Class", and 80 (0x50, or AF22)
  851. // per Section 4.7 "Low-Latency Data Service Class".
  852. pref("network.ftp.data.qos", 0);
  853. pref("network.ftp.control.qos", 0);
  854.  
  855. // </http>
  856.  
  857. // <ws>: WebSocket
  858. pref("network.websocket.enabled", true);
  859.  
  860. // mobile might want to set this much smaller
  861. pref("network.websocket.max-message-size", 16000000);
  862.  
  863. // Should we automatically follow http 3xx redirects during handshake
  864. pref("network.websocket.auto-follow-http-redirects", false);
  865.  
  866. // the number of seconds to wait for websocket connection to be opened
  867. pref("network.websocket.timeout.open", 20);
  868.  
  869. // the number of seconds to wait for a clean close after sending the client
  870. // close message
  871. pref("network.websocket.timeout.close", 20);
  872.  
  873. // the number of seconds of idle read activity to sustain before sending a
  874. // ping probe. 0 to disable.
  875. pref("network.websocket.timeout.ping.request", 0);
  876.  
  877. // the deadline, expressed in seconds, for some read activity to occur after
  878. // generating a ping. If no activity happens then an error and unclean close
  879. // event is sent to the javascript websockets application
  880. pref("network.websocket.timeout.ping.response", 10);
  881.  
  882. // Defines whether or not to try and negotiate the stream-deflate compression
  883. // extension with the websocket server. Stream-Deflate has been removed from
  884. // the standards track document, but can still be used by servers who opt
  885. // into it.
  886. pref("network.websocket.extensions.stream-deflate", false);
  887.  
  888. // the maximum number of concurrent websocket sessions. By specification there
  889. // is never more than one handshake oustanding to an individual host at
  890. // one time.
  891. pref("network.websocket.max-connections", 200);
  892.  
  893. // by default scripts loaded from a https:// origin can only open secure
  894. // (i.e. wss://) websockets.
  895. pref("network.websocket.allowInsecureFromHTTPS", false);
  896.  
  897. // </ws>
  898.  
  899. // Server-Sent Events
  900.  
  901. pref("dom.server-events.enabled", true);
  902. // Equal to the DEFAULT_RECONNECTION_TIME_VALUE value in nsEventSource.cpp
  903. pref("dom.server-events.default-reconnection-time", 5000); // in milliseconds
  904.  
  905. // If false, remote JAR files that are served with a content type other than
  906. // application/java-archive or application/x-jar will not be opened
  907. // by the jar channel.
  908. pref("network.jar.open-unsafe-types", false);
  909.  
  910. // This preference controls whether or not internationalized domain names (IDN)
  911. // are handled.  IDN requires a nsIIDNService implementation.
  912. pref("network.enableIDN", true);
  913.  
  914. // This preference, if true, causes all UTF-8 domain names to be normalized to
  915. // punycode.  The intention is to allow UTF-8 domain names as input, but never
  916. // generate them from punycode.
  917. pref("network.IDN_show_punycode", false);
  918.  
  919. // TLDs with "network.IDN.whitelist.tld" explicitly set to true are treated as 
  920. // IDN-safe. Otherwise, they're treated as unsafe and punycode will be used
  921. // for displaying them in the UI (e.g. URL bar). Note that these preferences
  922. // are referred to ONLY when "network.IDN_show_punycode" is false. In other
  923. // words, all IDNs will be shown in punycode if "network.IDN_show_punycode"
  924. // is true.
  925.  
  926. // ccTLDs
  927. pref("network.IDN.whitelist.ac", true);
  928. pref("network.IDN.whitelist.ar", true);
  929. pref("network.IDN.whitelist.at", true);
  930. pref("network.IDN.whitelist.br", true);
  931. pref("network.IDN.whitelist.ch", true);
  932. pref("network.IDN.whitelist.cl", true);
  933. pref("network.IDN.whitelist.cn", true);
  934. pref("network.IDN.whitelist.de", true);
  935. pref("network.IDN.whitelist.dk", true);
  936. pref("network.IDN.whitelist.es", true);
  937. pref("network.IDN.whitelist.fi", true);
  938. pref("network.IDN.whitelist.gr", true);
  939. pref("network.IDN.whitelist.hu", true);
  940. pref("network.IDN.whitelist.il", true);
  941. pref("network.IDN.whitelist.io", true);
  942. pref("network.IDN.whitelist.ir", true);
  943. pref("network.IDN.whitelist.is", true);
  944. pref("network.IDN.whitelist.jp", true);
  945. pref("network.IDN.whitelist.kr", true);
  946. pref("network.IDN.whitelist.li", true);
  947. pref("network.IDN.whitelist.lt", true);
  948. pref("network.IDN.whitelist.lu", true);
  949. pref("network.IDN.whitelist.lv", true);
  950. pref("network.IDN.whitelist.no", true);
  951. pref("network.IDN.whitelist.nu", true);
  952. pref("network.IDN.whitelist.nz", true);
  953. pref("network.IDN.whitelist.pl", true);
  954. pref("network.IDN.whitelist.pr", true);
  955. pref("network.IDN.whitelist.se", true);
  956. pref("network.IDN.whitelist.sh", true);
  957. pref("network.IDN.whitelist.th", true);
  958. pref("network.IDN.whitelist.tm", true);
  959. pref("network.IDN.whitelist.tw", true);
  960. pref("network.IDN.whitelist.ua", true);
  961. pref("network.IDN.whitelist.vn", true);
  962.  
  963. // IDN ccTLDs
  964. // ae, UAE, .<Emarat>
  965. pref("network.IDN.whitelist.xn--mgbaam7a8h", true); 
  966. // cn, China, .<China> with variants
  967. pref("network.IDN.whitelist.xn--fiqz9s", true); // Traditional
  968. pref("network.IDN.whitelist.xn--fiqs8s", true); // Simplified
  969. // eg, Egypt, .<Masr>
  970. pref("network.IDN.whitelist.xn--wgbh1c", true);
  971. // hk, Hong Kong, .<Hong Kong>
  972. pref("network.IDN.whitelist.xn--j6w193g", true);
  973. // ir, Iran, <.Iran> with variants
  974. pref("network.IDN.whitelist.xn--mgba3a4f16a", true);
  975. pref("network.IDN.whitelist.xn--mgba3a4fra", true);
  976. // jo, Jordan, .<Al-Ordon>
  977. pref("network.IDN.whitelist.xn--mgbayh7gpa", true);
  978. // lk, Sri Lanka, .<Lanka> and .<Ilangai>
  979. pref("network.IDN.whitelist.xn--fzc2c9e2c", true);
  980. pref("network.IDN.whitelist.xn--xkc2al3hye2a", true);
  981. // qa, Qatar, .<Qatar>
  982. pref("network.IDN.whitelist.xn--wgbl6a", true);
  983. // ru, Russian Federation, .<RF>
  984. pref("network.IDN.whitelist.xn--p1ai", true);
  985. // sa, Saudi Arabia, .<al-Saudiah> with variants
  986. pref("network.IDN.whitelist.xn--mgberp4a5d4ar", true); 
  987. pref("network.IDN.whitelist.xn--mgberp4a5d4a87g", true);
  988. pref("network.IDN.whitelist.xn--mgbqly7c0a67fbc", true);
  989. pref("network.IDN.whitelist.xn--mgbqly7cvafr", true);
  990. // sy, Syria, .<Souria>
  991. pref("network.IDN.whitelist.xn--ogbpf8fl", true);
  992. // tw, Taiwan, <.Taiwan> with variants
  993. pref("network.IDN.whitelist.xn--kpry57d", true);  // Traditional
  994. pref("network.IDN.whitelist.xn--kprw13d", true);  // Simplified
  995.  
  996. // gTLDs
  997. pref("network.IDN.whitelist.asia", true);
  998. pref("network.IDN.whitelist.biz", true);
  999. pref("network.IDN.whitelist.cat", true);
  1000. pref("network.IDN.whitelist.info", true);
  1001. pref("network.IDN.whitelist.museum", true);
  1002. pref("network.IDN.whitelist.org", true);
  1003. pref("network.IDN.whitelist.tel", true);
  1004.  
  1005. // NOTE: Before these can be removed, one of bug 414812's tests must be updated
  1006. //       or it will likely fail!  Please CC jwalden+bmo on the bug associated
  1007. //       with removing these so he can provide a patch to make the necessary
  1008. //       changes to avoid bustage.
  1009. // ".test" localised TLDs for ICANN's top-level IDN trial
  1010. pref("network.IDN.whitelist.xn--0zwm56d", true);
  1011. pref("network.IDN.whitelist.xn--11b5bs3a9aj6g", true);
  1012. pref("network.IDN.whitelist.xn--80akhbyknj4f", true);
  1013. pref("network.IDN.whitelist.xn--9t4b11yi5a", true);
  1014. pref("network.IDN.whitelist.xn--deba0ad", true);
  1015. pref("network.IDN.whitelist.xn--g6w251d", true);
  1016. pref("network.IDN.whitelist.xn--hgbk6aj7f53bba", true);
  1017. pref("network.IDN.whitelist.xn--hlcj6aya9esc7a", true);
  1018. pref("network.IDN.whitelist.xn--jxalpdlp", true);
  1019. pref("network.IDN.whitelist.xn--kgbechtv", true);
  1020. pref("network.IDN.whitelist.xn--zckzah", true);
  1021.  
  1022. // If a domain includes any of the following characters, it may be a spoof 
  1023. // attempt and so we always display the domain name as punycode. This would 
  1024. // override the settings "network.IDN_show_punycode" and 
  1025. // "network.IDN.whitelist.*".
  1026. pref("network.IDN.blacklist_chars", "\u0020\u00A0\u00BC\u00BD\u00BE\u01C3\u02D0\u0337\u0338\u0589\u05C3\u05F4\u0609\u060A\u066A\u06D4\u0701\u0702\u0703\u0704\u115F\u1160\u1735\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u200B\u2024\u2027\u2028\u2029\u202F\u2039\u203A\u2041\u2044\u2052\u205F\u2153\u2154\u2155\u2156\u2157\u2158\u2159\u215A\u215B\u215C\u215D\u215E\u215F\u2215\u2236\u23AE\u2571\u29F6\u29F8\u2AFB\u2AFD\u2FF0\u2FF1\u2FF2\u2FF3\u2FF4\u2FF5\u2FF6\u2FF7\u2FF8\u2FF9\u2FFA\u2FFB\u3000\u3002\u3014\u3015\u3033\u3164\u321D\u321E\u33AE\u33AF\u33C6\u33DF\uA789\uFE14\uFE15\uFE3F\uFE5D\uFE5E\uFEFF\uFF0E\uFF0F\uFF61\uFFA0\uFFF9\uFFFA\uFFFB\uFFFC\uFFFD");
  1027.  
  1028. // This preference specifies a list of domains for which DNS lookups will be
  1029. // IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
  1030. // and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
  1031. pref("network.dns.ipv4OnlyDomains", "");
  1032.  
  1033. // This preference can be used to turn off IPv6 name lookups. See bug 68796.
  1034. pref("network.dns.disableIPv6", false);
  1035.  
  1036. // This preference controls whether or not URLs with UTF-8 characters are
  1037. // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
  1038. pref("network.standard-url.escape-utf8", true);
  1039.  
  1040. // This preference controls whether or not URLs are always encoded and sent as
  1041. // UTF-8.
  1042. pref("network.standard-url.encode-utf8", true);
  1043.  
  1044. // This preference controls whether or not queries are encoded and sent as
  1045. // UTF-8.
  1046. pref("network.standard-url.encode-query-utf8", false);
  1047.  
  1048. // Idle timeout for ftp control connections - 5 minute default
  1049. pref("network.ftp.idleConnectionTimeout", 300);
  1050.  
  1051. // directory listing format
  1052. // 2: HTML
  1053. // 3: XUL directory viewer
  1054. // all other values are treated like 2
  1055. pref("network.dir.format", 2);
  1056.  
  1057. // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
  1058. pref("network.prefetch-next", true);
  1059.  
  1060.  
  1061. // The following prefs pertain to the negotiate-auth extension (see bug 17578),
  1062. // which provides transparent Kerberos or NTLM authentication using the SPNEGO
  1063. // protocol.  Each pref is a comma-separated list of keys, where each key has
  1064. // the format:
  1065. //   [scheme "://"] [host [":" port]]
  1066. // For example, "foo.com" would match "http://www.foo.com/bar", etc.
  1067.  
  1068. // This list controls which URIs can use the negotiate-auth protocol.  This
  1069. // list should be limited to the servers you know you'll need to login to.
  1070. pref("network.negotiate-auth.trusted-uris", "");
  1071. // This list controls which URIs can support delegation.
  1072. pref("network.negotiate-auth.delegation-uris", "");
  1073.  
  1074. // Do not allow SPNEGO by default when challenged by a local server.
  1075. pref("network.negotiate-auth.allow-non-fqdn", false);
  1076.  
  1077. // Allow SPNEGO by default when challenged by a proxy server.
  1078. pref("network.negotiate-auth.allow-proxies", true);
  1079.  
  1080. // Path to a specific gssapi library
  1081. pref("network.negotiate-auth.gsslib", "");
  1082.  
  1083. // Specify if the gss lib comes standard with the OS
  1084. pref("network.negotiate-auth.using-native-gsslib", true);
  1085.  
  1086. //@line 1043 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1087.  
  1088. // Controls which NTLM authentication implementation we default to. True forces
  1089. // the use of our generic (internal) NTLM authentication implementation vs. any
  1090. // native implementation provided by the os. This pref is for diagnosing issues
  1091. // with native NTLM. (See bug 520607 for details.) Using generic NTLM authentication
  1092. // can expose the user to reflection attack vulnerabilities. Do not change this
  1093. // unless you know what you're doing!
  1094. // This pref should be removed 6 months after the release of firefox 3.6. 
  1095. pref("network.auth.force-generic-ntlm", false);
  1096.  
  1097. // The following prefs are used to enable automatic use of the operating
  1098. // system's NTLM implementation to silently authenticate the user with their
  1099. // Window's domain logon.  The trusted-uris pref follows the format of the
  1100. // trusted-uris pref for negotiate authentication.
  1101. pref("network.automatic-ntlm-auth.allow-proxies", true);
  1102. pref("network.automatic-ntlm-auth.allow-non-fqdn", false);
  1103. pref("network.automatic-ntlm-auth.trusted-uris", "");
  1104.  
  1105. // This preference controls whether or not the LM hash will be included in
  1106. // response to a NTLM challenge.  By default, this is disabled since servers
  1107. // should almost never need the LM hash, and the LM hash is what makes NTLM
  1108. // authentication less secure.  See bug 250691 for further details.
  1109. // NOTE: automatic-ntlm-auth which leverages the OS-provided NTLM
  1110. //       implementation will not be affected by this preference.
  1111. pref("network.ntlm.send-lm-response", false);
  1112.  
  1113. pref("permissions.default.image",           1); // 1-Accept, 2-Deny, 3-dontAcceptForeign
  1114.  
  1115. pref("network.proxy.type",                  5);
  1116. pref("network.proxy.ftp",                   "");
  1117. pref("network.proxy.ftp_port",              0);
  1118. pref("network.proxy.http",                  "");
  1119. pref("network.proxy.http_port",             0);
  1120. pref("network.proxy.ssl",                   "");
  1121. pref("network.proxy.ssl_port",              0);
  1122. pref("network.proxy.socks",                 "");
  1123. pref("network.proxy.socks_port",            0);
  1124. pref("network.proxy.socks_version",         5);
  1125. pref("network.proxy.socks_remote_dns",      false);
  1126. pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
  1127. pref("network.proxy.failover_timeout",      1800); // 30 minutes
  1128. pref("network.online",                      true); //online/offline
  1129. pref("network.cookie.cookieBehavior",       0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
  1130. pref("network.cookie.thirdparty.sessionOnly", false);
  1131. pref("network.cookie.lifetimePolicy",       0); // accept normally, 1-askBeforeAccepting, 2-acceptForSession,3-acceptForNDays
  1132. pref("network.cookie.alwaysAcceptSessionCookies", false);
  1133. pref("network.cookie.prefsMigrated",        false);
  1134. pref("network.cookie.lifetime.days",        90);
  1135.  
  1136. // The PAC file to load.  Ignored unless network.proxy.type is 2.
  1137. pref("network.proxy.autoconfig_url", "");
  1138.  
  1139. // If we cannot load the PAC file, then try again (doubling from interval_min
  1140. // until we reach interval_max or the PAC file is successfully loaded).
  1141. pref("network.proxy.autoconfig_retry_interval_min", 5);    // 5 seconds
  1142. pref("network.proxy.autoconfig_retry_interval_max", 300);  // 5 minutes
  1143.  
  1144. pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
  1145. pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
  1146.  
  1147. pref("intl.accept_languages",               "chrome://global/locale/intl.properties");
  1148. pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
  1149. pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
  1150. pref("intl.charsetmenu.browser.static",     "chrome://global/locale/intl.properties");
  1151. pref("intl.charsetmenu.browser.more1",      "ISO-8859-1, ISO-8859-15, IBM850, x-mac-roman, windows-1252, ISO-8859-14, ISO-8859-7, x-mac-greek, windows-1253, x-mac-icelandic, ISO-8859-10, ISO-8859-3");
  1152. pref("intl.charsetmenu.browser.more2",      "ISO-8859-4, ISO-8859-13, windows-1257, IBM852, ISO-8859-2, x-mac-ce, windows-1250, x-mac-croatian, IBM855, ISO-8859-5, ISO-IR-111, KOI8-R, x-mac-cyrillic, windows-1251, IBM866, KOI8-U, x-mac-ukrainian, ISO-8859-16, x-mac-romanian");
  1153. pref("intl.charsetmenu.browser.more3",      "GB2312, gbk, gb18030, HZ-GB-2312, ISO-2022-CN, Big5, Big5-HKSCS, x-euc-tw, EUC-JP, ISO-2022-JP, Shift_JIS, EUC-KR, x-windows-949, x-johab, ISO-2022-KR");
  1154. pref("intl.charsetmenu.browser.more4",      "armscii-8, GEOSTD8, TIS-620, ISO-8859-11, windows-874, IBM857, ISO-8859-9, x-mac-turkish, windows-1254, x-viet-tcvn5712, VISCII, x-viet-vps, windows-1258, x-mac-devanagari, x-mac-gujarati, x-mac-gurmukhi");
  1155. pref("intl.charsetmenu.browser.more5",      "ISO-8859-6, windows-1256, IBM864, ISO-8859-8-I, windows-1255, ISO-8859-8, IBM862");
  1156. pref("intl.charsetmenu.browser.unicode",    "UTF-8, UTF-16LE, UTF-16BE");
  1157. pref("intl.charsetmenu.mailedit",           "chrome://global/locale/intl.properties");
  1158. pref("intl.charsetmenu.browser.cache",      "");
  1159. pref("intl.charsetmenu.mailview.cache",     "");
  1160. pref("intl.charsetmenu.composer.cache",     "");
  1161. pref("intl.charsetmenu.browser.cache.size", 5);
  1162. pref("intl.charset.detector",               "chrome://global/locale/intl.properties");
  1163. pref("intl.charset.default",                "chrome://global-platform/locale/intl.properties");
  1164. pref("intl.ellipsis",                       "chrome://global-platform/locale/intl.properties");
  1165. pref("intl.locale.matchOS",                 false);
  1166. // fallback charset list for Unicode conversion (converting from Unicode)
  1167. // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
  1168. // for ISO-8859-1
  1169. pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
  1170. pref("font.language.group",                 "chrome://global/locale/intl.properties");
  1171.  
  1172. // these locales have right-to-left UI
  1173. pref("intl.uidirection.ar", "rtl");
  1174. pref("intl.uidirection.he", "rtl");
  1175. pref("intl.uidirection.fa", "rtl");
  1176. pref("intl.uidirection.ur", "rtl");
  1177.  
  1178. // use en-US hyphenation by default for content tagged with plain lang="en"
  1179. pref("intl.hyphenation-alias.en", "en-us");
  1180. // and for other subtags of en-*, if no specific patterns are available
  1181. pref("intl.hyphenation-alias.en-*", "en-us");
  1182.  
  1183. pref("intl.hyphenation-alias.af-*", "af");
  1184. pref("intl.hyphenation-alias.bg-*", "bg");
  1185. pref("intl.hyphenation-alias.ca-*", "ca");
  1186. pref("intl.hyphenation-alias.cy-*", "cy");
  1187. pref("intl.hyphenation-alias.da-*", "da");
  1188. pref("intl.hyphenation-alias.eo-*", "eo");
  1189. pref("intl.hyphenation-alias.es-*", "es");
  1190. pref("intl.hyphenation-alias.et-*", "et");
  1191. pref("intl.hyphenation-alias.fi-*", "fi");
  1192. pref("intl.hyphenation-alias.fr-*", "fr");
  1193. pref("intl.hyphenation-alias.gl-*", "gl");
  1194. pref("intl.hyphenation-alias.hr-*", "hr");
  1195. pref("intl.hyphenation-alias.hsb-*", "hsb");
  1196. pref("intl.hyphenation-alias.hu-*", "hu");
  1197. pref("intl.hyphenation-alias.ia-*", "ia");
  1198. pref("intl.hyphenation-alias.is-*", "is");
  1199. pref("intl.hyphenation-alias.it-*", "it");
  1200. pref("intl.hyphenation-alias.kmr-*", "kmr");
  1201. pref("intl.hyphenation-alias.la-*", "la");
  1202. pref("intl.hyphenation-alias.lt-*", "lt");
  1203. pref("intl.hyphenation-alias.mn-*", "mn");
  1204. pref("intl.hyphenation-alias.nl-*", "nl");
  1205. pref("intl.hyphenation-alias.pt-*", "pt");
  1206. pref("intl.hyphenation-alias.ru-*", "ru");
  1207. pref("intl.hyphenation-alias.sl-*", "sl");
  1208. pref("intl.hyphenation-alias.sv-*", "sv");
  1209. pref("intl.hyphenation-alias.tr-*", "tr");
  1210. pref("intl.hyphenation-alias.uk-*", "uk");
  1211.  
  1212. // use reformed (1996) German patterns by default unless specifically tagged as de-1901
  1213. // (these prefs may soon be obsoleted by better BCP47-based tag matching, but for now...)
  1214. pref("intl.hyphenation-alias.de", "de-1996");
  1215. pref("intl.hyphenation-alias.de-*", "de-1996");
  1216. pref("intl.hyphenation-alias.de-DE-1901", "de-1901");
  1217. pref("intl.hyphenation-alias.de-CH-*", "de-CH");
  1218.  
  1219. // patterns from TeX are tagged as "sh" (Serbo-Croatian) macrolanguage;
  1220. // alias "sr" (Serbian) and "bs" (Bosnian) to those patterns
  1221. // (Croatian has its own separate patterns).
  1222. pref("intl.hyphenation-alias.sr", "sh");
  1223. pref("intl.hyphenation-alias.bs", "sh");
  1224. pref("intl.hyphenation-alias.sh-*", "sh");
  1225. pref("intl.hyphenation-alias.sr-*", "sh");
  1226. pref("intl.hyphenation-alias.bs-*", "sh");
  1227.  
  1228. // Norwegian has two forms, Bokm├Ñl and Nynorsk, with "no" as a macrolanguage encompassing both.
  1229. // For "no", we'll alias to "nb" (Bokm├Ñl) as that is the more widely used written form.
  1230. pref("intl.hyphenation-alias.no", "nb");
  1231. pref("intl.hyphenation-alias.no-*", "nb");
  1232. pref("intl.hyphenation-alias.nb-*", "nb");
  1233. pref("intl.hyphenation-alias.nn-*", "nn");
  1234.  
  1235. pref("font.mathfont-family", "STIXNonUnicode, STIXSizeOneSym, STIXSize1, STIXGeneral, Asana Math, Standard Symbols L, DejaVu Sans, Cambria Math");
  1236.  
  1237. // Some CJK fonts have bad underline offset, their CJK character glyphs are overlapped (or adjoined)  to its underline.
  1238. // These fonts are ignored the underline offset, instead of it, the underline is lowered to bottom of its em descent.
  1239. pref("font.blacklist.underline_offset", "FangSong,Gulim,GulimChe,MingLiU,MingLiU-ExtB,MingLiU_HKSCS,MingLiU-HKSCS-ExtB,MS Gothic,MS Mincho,MS PGothic,MS PMincho,MS UI Gothic,PMingLiU,PMingLiU-ExtB,SimHei,SimSun,SimSun-ExtB,Hei,Kai,Apple LiGothic,Apple LiSung,Osaka");
  1240.  
  1241. pref("images.dither", "auto");
  1242. pref("security.directory",              "");
  1243.  
  1244. pref("signed.applets.codebase_principal_support", false);
  1245. pref("security.checkloaduri", true);
  1246. pref("security.xpconnect.plugin.unrestricted", true);
  1247. // security-sensitive dialogs should delay button enabling. In milliseconds.
  1248. pref("security.dialog_enable_delay", 2000);
  1249.  
  1250. pref("security.csp.enable", true);
  1251. pref("security.csp.debug", false);
  1252.  
  1253. // Modifier key prefs: default to Windows settings,
  1254. // menu access key = alt, accelerator key = control.
  1255. // Use 17 for Ctrl, 18 for Alt, 224 for Meta, 0 for none. Mac settings in macprefs.js
  1256. pref("ui.key.accelKey", 17);
  1257. pref("ui.key.menuAccessKey", 18);
  1258. pref("ui.key.generalAccessKey", -1);
  1259.  
  1260. // If generalAccessKey is -1, use the following two prefs instead.
  1261. // Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
  1262. // (values can be combined, e.g. 5 for Alt+Shift)
  1263. pref("ui.key.chromeAccess", 4);
  1264. pref("ui.key.contentAccess", 5);
  1265.  
  1266. pref("ui.key.menuAccessKeyFocuses", false); // overridden below
  1267. pref("ui.key.saveLink.shift", true); // true = shift, false = meta
  1268.  
  1269. // Disable page loading activity cursor by default.
  1270. pref("ui.use_activity_cursor", false);
  1271.  
  1272. // Middle-mouse handling
  1273. pref("middlemouse.paste", false);
  1274. pref("middlemouse.openNewWindow", true);
  1275. pref("middlemouse.contentLoadURL", false);
  1276. pref("middlemouse.scrollbarPosition", false);
  1277.  
  1278. // Clipboard behavior
  1279. pref("clipboard.autocopy", false);
  1280.  
  1281. // mouse wheel scroll transaction period of time (in milliseconds)
  1282. pref("mousewheel.transaction.timeout", 1500);
  1283. // mouse wheel scroll transaction is held even if the mouse cursor is moved.
  1284. pref("mousewheel.transaction.ignoremovedelay", 100);
  1285.  
  1286. // prefs for app level mouse wheel scrolling acceleration.
  1287. // number of mousewheel clicks when acceleration starts
  1288. // acceleration can be turned off if pref is set to -1
  1289. pref("mousewheel.acceleration.start", -1);
  1290. // factor to be multiplied for constant acceleration
  1291. pref("mousewheel.acceleration.factor", 10);
  1292.  
  1293. // Prefs for override the system mouse wheel scrolling speed on the root
  1294. // content of the web pages.  When
  1295. // "mousewheel.system_scroll_override_on_root_content.enabled" is true and the system
  1296. // scrolling speed isn't customized by the user, the root content scrolling
  1297. // speed is multiplied by the following factors.  The value will be used as
  1298. // 1/100.  E.g., 200 means 2.00.
  1299. // NOTE: Even if "mousewheel.system_scroll_override_on_root_content.enabled" is
  1300. // true, when Gecko detects the user customized the system scrolling speed
  1301. // settings, the override isn't executed.
  1302. pref("mousewheel.system_scroll_override_on_root_content.vertical.factor", 200);
  1303. pref("mousewheel.system_scroll_override_on_root_content.horizontal.factor", 200);
  1304.  
  1305. // 0=lines, 1=pages, 2=history , 3=text size
  1306. pref("mousewheel.withnokey.action",0);
  1307. pref("mousewheel.withnokey.numlines",6);
  1308. pref("mousewheel.withnokey.sysnumlines",true);
  1309. pref("mousewheel.withcontrolkey.action",0);
  1310. pref("mousewheel.withcontrolkey.numlines",1);
  1311. pref("mousewheel.withcontrolkey.sysnumlines",true);
  1312. // mousewheel.withshiftkey, see the Mac note below.
  1313. pref("mousewheel.withshiftkey.action",0);
  1314. pref("mousewheel.withshiftkey.numlines",1);
  1315. pref("mousewheel.withshiftkey.sysnumlines",true);
  1316. pref("mousewheel.withaltkey.action",2);
  1317. pref("mousewheel.withaltkey.numlines",1);
  1318. pref("mousewheel.withaltkey.sysnumlines",false);
  1319. pref("mousewheel.withmetakey.action",0);
  1320. pref("mousewheel.withmetakey.numlines",1);
  1321. pref("mousewheel.withmetakey.sysnumlines",true);
  1322.  
  1323. // activate horizontal scrolling by default
  1324. pref("mousewheel.horizscroll.withnokey.action",0);
  1325. pref("mousewheel.horizscroll.withnokey.numlines",1);
  1326. pref("mousewheel.horizscroll.withnokey.sysnumlines",true);
  1327. pref("mousewheel.horizscroll.withcontrolkey.action",0);
  1328. pref("mousewheel.horizscroll.withcontrolkey.numlines",1);
  1329. pref("mousewheel.horizscroll.withcontrolkey.sysnumlines",true);
  1330. pref("mousewheel.horizscroll.withshiftkey.action",0);
  1331. pref("mousewheel.horizscroll.withshiftkey.numlines",1);
  1332. pref("mousewheel.horizscroll.withshiftkey.sysnumlines",true);
  1333. pref("mousewheel.horizscroll.withaltkey.action",2);
  1334. pref("mousewheel.horizscroll.withaltkey.numlines",-1);
  1335. pref("mousewheel.horizscroll.withaltkey.sysnumlines",false);
  1336. pref("mousewheel.horizscroll.withmetakey.action",0);
  1337. pref("mousewheel.horizscroll.withmetakey.numlines",1);
  1338. pref("mousewheel.horizscroll.withmetakey.sysnumlines",true);
  1339.  
  1340. pref("profile.confirm_automigration",true);
  1341. // profile.migration_behavior determines how the profiles root is set
  1342. // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
  1343. // 1 - create one based on the NS4.x profile root
  1344. // 2 - use, if not empty, profile.migration_directory otherwise same as 0
  1345. pref("profile.migration_behavior",0);
  1346. pref("profile.migration_directory", "");
  1347.  
  1348. // the amount of time (in seconds) that must elapse
  1349. // before we think your mozilla profile is defunct
  1350. // and you'd benefit from re-migrating from 4.x
  1351. // see bug #137886 for more details
  1352. //
  1353. // if -1, we never think your profile is defunct
  1354. // and users will never see the remigrate UI.
  1355. pref("profile.seconds_until_defunct", -1);
  1356. // We can show it anytime from menus
  1357. pref("profile.manage_only_at_launch", false);
  1358.  
  1359. pref("prefs.converted-to-utf8",false);
  1360.  
  1361. // --------------------------------------------------
  1362. // IBMBIDI 
  1363. // --------------------------------------------------
  1364. //
  1365. // ------------------
  1366. //  Text Direction
  1367. // ------------------
  1368. // 1 = directionLTRBidi *
  1369. // 2 = directionRTLBidi
  1370. pref("bidi.direction", 1);
  1371. // ------------------
  1372. //  Text Type
  1373. // ------------------
  1374. // 1 = charsettexttypeBidi *
  1375. // 2 = logicaltexttypeBidi
  1376. // 3 = visualtexttypeBidi
  1377. pref("bidi.texttype", 1);
  1378. // ------------------
  1379. //  Numeral Style
  1380. // ------------------
  1381. // 0 = nominalnumeralBidi *
  1382. // 1 = regularcontextnumeralBidi
  1383. // 2 = hindicontextnumeralBidi
  1384. // 3 = arabicnumeralBidi
  1385. // 4 = hindinumeralBidi
  1386. // 5 = persiancontextnumeralBidi
  1387. // 6 = persiannumeralBidi
  1388. pref("bidi.numeral", 0);
  1389. // ------------------
  1390. //  Support Mode
  1391. // ------------------
  1392. // 1 = mozillaBidisupport *
  1393. // 2 = OsBidisupport
  1394. // 3 = disableBidisupport
  1395. pref("bidi.support", 1);
  1396. // Whether delete and backspace should immediately delete characters not
  1397. // visually adjacent to the caret, or adjust the visual position of the caret
  1398. // on the first keypress and delete the character on a second keypress
  1399. pref("bidi.edit.delete_immediately", false);
  1400.  
  1401. // Bidi caret movement style:
  1402. // 0 = logical
  1403. // 1 = visual
  1404. // 2 = visual, but logical during selection
  1405. pref("bidi.edit.caret_movement_style", 2);
  1406.  
  1407. // Setting this pref to |true| forces Bidi UI menu items and keyboard shortcuts
  1408. // to be exposed, and enables the directional caret hook. By default, only
  1409. // expose it for bidi-associated system locales.
  1410. pref("bidi.browser.ui", false);
  1411.  
  1412. // used for double-click word selection behavior. Win will override.
  1413. pref("layout.word_select.eat_space_to_next_word", false);
  1414. pref("layout.word_select.stop_at_punctuation", true);
  1415.  
  1416. // controls caret style and word-delete during text selection
  1417. // 0 = use platform default
  1418. // 1 = caret moves and blinks as when there is no selection; word
  1419. //     delete deselects the selection and then deletes word (Windows default)
  1420. // 2 = caret moves to selection edge and is not visible during selection; 
  1421. //     word delete deletes the selection (Mac default)
  1422. // 3 = caret moves and blinks as when there is no selection; word delete
  1423. //     deletes the selection (Unix default)
  1424. pref("layout.selection.caret_style", 0);
  1425.  
  1426. // pref to control whether or not to replace backslashes with Yen signs
  1427. // in documents encoded in one of Japanese legacy encodings (EUC-JP, 
  1428. // Shift_JIS, ISO-2022-JP)
  1429. pref("layout.enable_japanese_specific_transform", false);
  1430.  
  1431. // pref to force frames to be resizable
  1432. pref("layout.frames.force_resizability", false);
  1433.  
  1434. // pref to report CSS errors to the error console
  1435. pref("layout.css.report_errors", true);
  1436.  
  1437. // Should the :visited selector ever match (otherwise :link matches instead)?
  1438. pref("layout.css.visited_links_enabled", true);
  1439.  
  1440. // Override DPI. A value of -1 means use the maximum of 96 and the system DPI.
  1441. // A value of 0 means use the system DPI. A positive value is used as the DPI.
  1442. // This sets the physical size of a device pixel and thus controls the
  1443. // interpretation of physical units such as "pt".
  1444. pref("layout.css.dpi", 0);
  1445.  
  1446. // Set the number of device pixels per CSS pixel. A value <= 0 means choose
  1447. // automatically based on user settings for the platform (e.g., "UI scale factor"
  1448. // on Mac). A positive value is used as-is. This effectively controls the size
  1449. // of a CSS "px". This is only used for windows on the screen, not for printing.
  1450. // XXX the default value here should be 0, but before we can set it to 0,
  1451. // we have to get this feature working on all platforms.
  1452. pref("layout.css.devPixelsPerPx", "1.0");
  1453.  
  1454. // pref for which side vertical scrollbars should be on
  1455. // 0 = end-side in UI direction
  1456. // 1 = end-side in document/content direction
  1457. // 2 = right
  1458. // 3 = left
  1459. pref("layout.scrollbar.side", 0);
  1460.  
  1461. // pref to control browser frame rate, in Hz. A value <= 0 means choose
  1462. // automatically based on knowledge of the platform (or 60Hz if no platform-
  1463. // specific information is available).
  1464. pref("layout.frame_rate", -1);
  1465.  
  1466. // pref to control precision of the frame rate timer. When true,
  1467. // we use a "precise" timer, which means each notification fires
  1468. // Nms after the start of the last notification. That means if the
  1469. // processing of the notification is slow, the timer can fire immediately
  1470. // after we've just finished processing the last notification, which might
  1471. // lead to starvation problems.
  1472. // When false, we use a "slack" timer which fires Nms after the *end*
  1473. // of the last notification. This can give less tight frame rates
  1474. // but provides more time for other operations when the browser is
  1475. // heavily loaded.
  1476. pref("layout.frame_rate.precise", false);
  1477.  
  1478. // pref to permit users to make verified SOAP calls by default
  1479. pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
  1480.  
  1481. // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
  1482. pref("plugin.override_internal_types", false);
  1483. pref("plugin.expose_full_path", false); // if true navigator.plugins reveals full path
  1484.  
  1485. // See bug 136985.  Gives embedders a pref to hook into to show
  1486. // a popup blocker if they choose.
  1487. pref("browser.popups.showPopupBlocker", true);
  1488.  
  1489. // Pref to control whether the viewmanager code does double-buffering or not
  1490. // See http://bugzilla.mozilla.org/show_bug.cgi?id=169483 for further details...
  1491. pref("viewmanager.do_doublebuffering", true);
  1492.  
  1493. // whether use prefs from system
  1494. pref("config.use_system_prefs", false);
  1495.  
  1496. // if the system has enabled accessibility
  1497. pref("config.use_system_prefs.accessibility", false);
  1498.  
  1499. // enable single finger gesture input (win7+ tablets)
  1500. pref("gestures.enable_single_finger_input", true);
  1501.  
  1502. /*
  1503.  * What are the entities that you want Mozilla to save using mnemonic
  1504.  * names rather than numeric codes? E.g. If set, we'll output  
  1505.  * otherwise, we may output 0xa0 depending on the charset.
  1506.  *
  1507.  * "none"   : don't use any entity names; only use numeric codes.
  1508.  * "basic"  : use entity names just for   & < > " for 
  1509.  *            interoperability/exchange with products that don't support more
  1510.  *            than that.
  1511.  * "latin1" : use entity names for 8bit accented letters and other special
  1512.  *            symbols between 128 and 255.
  1513.  * "html"   : use entity names for 8bit accented letters, greek letters, and
  1514.  *            other special markup symbols as defined in HTML4.
  1515.  */
  1516. //pref("editor.encode_entity",                 "html");
  1517.  
  1518. pref("editor.resizing.preserve_ratio",       true);
  1519. pref("editor.positioning.offset",            0);
  1520.  
  1521. pref("dom.max_chrome_script_run_time", 20);
  1522. pref("dom.max_script_run_time", 10);
  1523.  
  1524. //@line 1481 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1525. // How long a plugin is allowed to process a synchronous IPC message
  1526. // before we consider it "hung".
  1527. pref("dom.ipc.plugins.timeoutSecs", 45);
  1528. // How long a plugin process will wait for a response from the parent
  1529. // to a synchronous request before terminating itself. After this
  1530. // point the child assumes the parent is hung. Currently disabled.
  1531. pref("dom.ipc.plugins.parentTimeoutSecs", 0);
  1532. // How long a plugin launch is allowed to take before
  1533. // we consider it failed.
  1534. pref("dom.ipc.plugins.processLaunchTimeoutSecs", 45);
  1535. //@line 1497 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1536.  
  1537. // Disable oopp for standard java. They run their own process isolation (which
  1538. // conflicts with our implementation, at least on Windows).
  1539. pref("dom.ipc.plugins.java.enabled", false);
  1540.  
  1541. //@line 1505 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1542. // Linux plugins using Xt instead of Xembed don't work out-of-process yet.
  1543. pref("dom.ipc.plugins.enabled.libvlcplugin.so", false);
  1544. pref("dom.ipc.plugins.enabled.nppdf.so", false);
  1545. pref("dom.ipc.plugins.enabled.602plugin.so", false);
  1546. //@line 1512 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1547.  
  1548. pref("dom.ipc.processCount", 1);
  1549.  
  1550. pref("svg.smil.enabled", true);
  1551.  
  1552. pref("font.minimum-size.ar", 0);
  1553. pref("font.minimum-size.x-armn", 0);
  1554. pref("font.minimum-size.x-beng", 0);
  1555. pref("font.minimum-size.x-baltic", 0);
  1556. pref("font.minimum-size.x-central-euro", 0);
  1557. pref("font.minimum-size.zh-CN", 0);
  1558. pref("font.minimum-size.zh-HK", 0);
  1559. pref("font.minimum-size.zh-TW", 0);
  1560. pref("font.minimum-size.x-cyrillic", 0);
  1561. pref("font.minimum-size.x-devanagari", 0);
  1562. pref("font.minimum-size.x-ethi", 0);
  1563. pref("font.minimum-size.x-geor", 0);
  1564. pref("font.minimum-size.el", 0);
  1565. pref("font.minimum-size.x-gujr", 0);
  1566. pref("font.minimum-size.x-guru", 0);
  1567. pref("font.minimum-size.he", 0);
  1568. pref("font.minimum-size.ja", 0);
  1569. pref("font.minimum-size.x-knda", 0);
  1570. pref("font.minimum-size.x-khmr", 0);
  1571. pref("font.minimum-size.ko", 0);
  1572. pref("font.minimum-size.x-mlym", 0);
  1573. pref("font.minimum-size.x-orya", 0);
  1574. pref("font.minimum-size.x-sinh", 0);
  1575. pref("font.minimum-size.x-tamil", 0);
  1576. pref("font.minimum-size.x-telu", 0);
  1577. pref("font.minimum-size.x-tibt", 0);
  1578. pref("font.minimum-size.th", 0);
  1579. pref("font.minimum-size.tr", 0);
  1580. pref("font.minimum-size.x-cans", 0);
  1581. pref("font.minimum-size.x-western", 0);
  1582. pref("font.minimum-size.x-unicode", 0);
  1583. pref("font.minimum-size.x-user-def", 0);
  1584.  
  1585. //@line 2016 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1586.  
  1587. //@line 2449 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1588.  
  1589. //@line 2649 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1590.  
  1591. //@line 2918 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1592.  
  1593. //@line 2922 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1594. // Handled differently under Mac/Windows
  1595. pref("network.protocol-handler.warn-external.file", false);
  1596. pref("browser.drag_out_of_frame_style", 1);
  1597.  
  1598. // Middle-mouse handling
  1599. pref("middlemouse.paste", true);
  1600. pref("middlemouse.contentLoadURL", true);
  1601. pref("middlemouse.openNewWindow", true);
  1602. pref("middlemouse.scrollbarPosition", true);
  1603.  
  1604. // Clipboard behavior
  1605. pref("clipboard.autocopy", true);
  1606.  
  1607. pref("browser.urlbar.clickSelectsAll", false);
  1608.  
  1609. // Tab focus model bit field:
  1610. // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
  1611. // Leave this at the default, 7, to match mozilla1.0-era user expectations.
  1612. // pref("accessibility.tabfocus", 1);
  1613.  
  1614. // autocomplete keyboard grab workaround
  1615. pref("autocomplete.grab_during_popup", true);
  1616. pref("autocomplete.ungrab_during_mode_switch", true);
  1617.  
  1618. // Default to using the system filepicker if possible, but allow
  1619. // toggling to use the XUL filepicker
  1620. pref("ui.allow_platform_file_picker", true);
  1621.  
  1622. pref("helpers.global_mime_types_file", "/etc/mime.types");
  1623. pref("helpers.global_mailcap_file", "/etc/mailcap");
  1624. pref("helpers.private_mime_types_file", "~/.mime.types");
  1625. pref("helpers.private_mailcap_file", "~/.mailcap");
  1626. pref("java.global_java_version_file", "/etc/.java/versions");
  1627. pref("java.private_java_version_file", "~/.java/versions");
  1628. pref("java.default_java_location_solaris", "/usr/j2se");
  1629. pref("java.default_java_location_others", "/usr/java");
  1630. pref("java.java_plugin_library_name", "javaplugin_oji");
  1631. pref("applications.telnet", "xterm -e telnet %h %p");
  1632. pref("applications.tn3270", "xterm -e tn3270 %h");
  1633. pref("applications.rlogin", "xterm -e rlogin %h");
  1634. pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
  1635. pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
  1636. pref("print.printer_list", ""); // list of printers, separated by spaces
  1637. pref("print.print_reversed", false);
  1638. pref("print.print_color", true);
  1639. pref("print.print_landscape", false);
  1640. pref("print.print_paper_size", 0);
  1641.  
  1642. // print_extra_margin enables platforms to specify an extra gap or margin
  1643. // around the content of the page for Print Preview only
  1644. pref("print.print_extra_margin", 0); // twips
  1645.  
  1646. pref("font.allow_double_byte_special_chars", true);
  1647. // font names
  1648.  
  1649. pref("font.alias-list", "sans,sans-serif,serif,monospace");
  1650.  
  1651. // ar
  1652.  
  1653. pref("font.name.serif.el", "serif");
  1654. pref("font.name.sans-serif.el", "sans-serif");
  1655. pref("font.name.monospace.el", "monospace");
  1656.  
  1657. pref("font.name.serif.he", "serif");
  1658. pref("font.name.sans-serif.he", "sans-serif");
  1659. pref("font.name.monospace.he", "monospace");
  1660.  
  1661. pref("font.name.serif.ja", "serif");
  1662. pref("font.name.sans-serif.ja", "sans-serif");
  1663. pref("font.name.monospace.ja", "monospace");
  1664.  
  1665. pref("font.name.serif.ko", "serif");
  1666. pref("font.name.sans-serif.ko", "sans-serif");
  1667. pref("font.name.monospace.ko", "monospace");
  1668.  
  1669. pref("font.name.serif.th", "serif");
  1670. pref("font.name.sans-serif.th", "sans-serif");
  1671. pref("font.name.monospace.th", "monospace");
  1672.  
  1673. pref("font.name.serif.tr", "serif");
  1674. pref("font.name.sans-serif.tr", "sans-serif");
  1675. pref("font.name.monospace.tr", "monospace");
  1676.  
  1677. pref("font.name.serif.x-baltic", "serif");
  1678. pref("font.name.sans-serif.x-baltic", "sans-serif");
  1679. pref("font.name.monospace.x-baltic", "monospace");
  1680.  
  1681. pref("font.name.serif.x-central-euro", "serif");
  1682. pref("font.name.sans-serif.x-central-euro", "sans-serif");
  1683. pref("font.name.monospace.x-central-euro", "monospace");
  1684.  
  1685. pref("font.name.serif.x-cyrillic", "serif");
  1686. pref("font.name.sans-serif.x-cyrillic", "sans-serif");
  1687. pref("font.name.monospace.x-cyrillic", "monospace");
  1688.  
  1689. pref("font.name.serif.x-unicode", "serif");
  1690. pref("font.name.sans-serif.x-unicode", "sans-serif");
  1691. pref("font.name.monospace.x-unicode", "monospace");
  1692.  
  1693. pref("font.name.serif.x-user-def", "serif");
  1694. pref("font.name.sans-serif.x-user-def", "sans-serif");
  1695. pref("font.name.monospace.x-user-def", "monospace");
  1696.  
  1697. pref("font.name.serif.x-western", "serif");
  1698. pref("font.name.sans-serif.x-western", "sans-serif");
  1699. pref("font.name.monospace.x-western", "monospace");
  1700.  
  1701. pref("font.name.serif.zh-CN", "serif");
  1702. pref("font.name.sans-serif.zh-CN", "sans-serif");
  1703. pref("font.name.monospace.zh-CN", "monospace");
  1704.  
  1705. // ming_uni.ttf (HKSCS-2001) 
  1706. // http://www.info.gov.hk/digital21/eng/hkscs/download/uime.exe
  1707. pref("font.name.serif.zh-HK", "serif");
  1708. pref("font.name.sans-serif.zh-HK", "sans-serif");
  1709. pref("font.name.monospace.zh-HK", "monospace");
  1710.  
  1711. // zh-TW
  1712.  
  1713. pref("font.default.ar", "sans-serif");
  1714. pref("font.size.variable.ar", 16);
  1715. pref("font.size.fixed.ar", 12);
  1716.  
  1717. pref("font.default.el", "serif");
  1718. pref("font.size.variable.el", 16);
  1719. pref("font.size.fixed.el", 12);
  1720.  
  1721. pref("font.default.he", "sans-serif");
  1722. pref("font.size.variable.he", 16);
  1723. pref("font.size.fixed.he", 12);
  1724.  
  1725. pref("font.default.ja", "sans-serif");
  1726. pref("font.size.variable.ja", 16);
  1727. pref("font.size.fixed.ja", 16);
  1728.  
  1729. pref("font.default.ko", "sans-serif");
  1730. pref("font.size.variable.ko", 16);
  1731. pref("font.size.fixed.ko", 16);
  1732.  
  1733. pref("font.default.th", "serif");
  1734. pref("font.size.variable.th", 16);
  1735. pref("font.size.fixed.th", 13);
  1736. pref("font.minimum-size.th", 13);
  1737.  
  1738. pref("font.default.tr", "serif");
  1739. pref("font.size.variable.tr", 16);
  1740. pref("font.size.fixed.tr", 12);
  1741.  
  1742. pref("font.default.x-baltic", "serif");
  1743. pref("font.size.variable.x-baltic", 16);
  1744. pref("font.size.fixed.x-baltic", 12);
  1745.  
  1746. pref("font.default.x-central-euro", "serif");
  1747. pref("font.size.variable.x-central-euro", 16);
  1748. pref("font.size.fixed.x-central-euro", 12);
  1749.  
  1750. pref("font.default.x-cyrillic", "serif");
  1751. pref("font.size.variable.x-cyrillic", 16);
  1752. pref("font.size.fixed.x-cyrillic", 12);
  1753.  
  1754. pref("font.default.x-unicode", "serif");
  1755. pref("font.size.variable.x-unicode", 16);
  1756. pref("font.size.fixed.x-unicode", 12);
  1757.  
  1758. pref("font.default.x-user-def", "serif");
  1759. pref("font.size.variable.x-user-def", 16);
  1760. pref("font.size.fixed.x-user-def", 12);
  1761.  
  1762. pref("font.default.x-western", "serif");
  1763. pref("font.size.variable.x-western", 16);
  1764. pref("font.size.fixed.x-western", 12);
  1765.  
  1766. pref("font.default.zh-CN", "sans-serif");
  1767. pref("font.size.variable.zh-CN", 16);
  1768. pref("font.size.fixed.zh-CN", 16);
  1769.  
  1770. pref("font.default.zh-TW", "sans-serif");
  1771. pref("font.size.variable.zh-TW", 16);
  1772. pref("font.size.fixed.zh-TW", 16);
  1773.  
  1774. pref("font.default.zh-HK", "sans-serif");
  1775. pref("font.size.variable.zh-HK", 16);
  1776. pref("font.size.fixed.zh-HK", 16);
  1777.  
  1778. pref("font.default.x-devanagari", "serif");
  1779. pref("font.size.variable.x-devanagari", 16);
  1780. pref("font.size.fixed.x-devanagari", 13);
  1781.  
  1782. pref("font.default.x-tamil", "serif");
  1783. pref("font.size.variable.x-tamil", 16);
  1784. pref("font.size.fixed.x-tamil", 13);
  1785.  
  1786. pref("font.default.x-armn", "serif");
  1787. pref("font.size.variable.x-armn", 16);
  1788. pref("font.size.fixed.x-armn", 13);
  1789.  
  1790. pref("font.default.x-beng", "serif");
  1791. pref("font.size.variable.x-beng", 16);
  1792. pref("font.size.fixed.x-beng", 13);
  1793.  
  1794. pref("font.default.x-cans", "serif");
  1795. pref("font.size.variable.x-cans", 16);
  1796. pref("font.size.fixed.x-cans", 13);
  1797.  
  1798. pref("font.default.x-ethi", "serif");
  1799. pref("font.size.variable.x-ethi", 16);
  1800. pref("font.size.fixed.x-ethi", 13);
  1801.  
  1802. pref("font.default.x-geor", "serif");
  1803. pref("font.size.variable.x-geor", 16);
  1804. pref("font.size.fixed.x-geor", 13);
  1805.  
  1806. pref("font.default.x-gujr", "serif");
  1807. pref("font.size.variable.x-gujr", 16);
  1808. pref("font.size.fixed.x-gujr", 13);
  1809.  
  1810. pref("font.default.x-guru", "serif");
  1811. pref("font.size.variable.x-guru", 16);
  1812. pref("font.size.fixed.x-guru", 13);
  1813.  
  1814. pref("font.default.x-khmr", "serif");
  1815. pref("font.size.variable.x-khmr", 16);
  1816. pref("font.size.fixed.x-khmr", 13);
  1817.  
  1818. pref("font.default.x-mlym", "serif");
  1819. pref("font.size.variable.x-mlym", 16);
  1820. pref("font.size.fixed.x-mlym", 13);
  1821.  
  1822. pref("font.default.x-orya", "serif");
  1823. pref("font.size.variable.x-orya", 16);
  1824. pref("font.size.fixed.x-orya", 13);
  1825.  
  1826. pref("font.default.x-telu", "serif");
  1827. pref("font.size.variable.x-telu", 16);
  1828. pref("font.size.fixed.x-telu", 13);
  1829.  
  1830. pref("font.default.x-knda", "serif");
  1831. pref("font.size.variable.x-knda", 16);
  1832. pref("font.size.fixed.x-knda", 13);
  1833.  
  1834. pref("font.default.x-sinh", "serif");
  1835. pref("font.size.variable.x-sinh", 16);
  1836. pref("font.size.fixed.x-sinh", 13);
  1837.  
  1838. pref("font.default.x-tibt", "serif");
  1839. pref("font.size.variable.x-tibt", 16);
  1840. pref("font.size.fixed.x-tibt", 13);
  1841.  
  1842. /* PostScript print module prefs */
  1843. // pref("print.postscript.enabled",      true);
  1844. pref("print.postscript.paper_size",    "letter");
  1845. pref("print.postscript.orientation",   "portrait");
  1846. pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
  1847.  
  1848. // On GTK2 platform, we should use topmost window level for the default window
  1849. // level of <panel> element of XUL. GTK2 has only two window types. One is
  1850. // normal top level window, other is popup window. The popup window is always
  1851. // topmost window level, therefore, we are using normal top level window for
  1852. // non-topmost panel, but it is pretty hacky. On some Window Managers, we have
  1853. // 2 problems:
  1854. // 1. The non-topmost panel steals focus from its parent window at showing.
  1855. // 2. The parent of non-topmost panel is not activated when the panel is hidden.
  1856. // So, we have no reasons we should use non-toplevel window for popup.
  1857. pref("ui.panel.default_level_parent", true);
  1858.  
  1859. pref("mousewheel.system_scroll_override_on_root_content.enabled", false);
  1860.  
  1861. //@line 3193 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1862.  
  1863. //@line 3213 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1864.  
  1865. //@line 3221 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1866.  
  1867. // Login Manager prefs
  1868. pref("signon.rememberSignons",              true);
  1869. pref("signon.SignonFileName",               "signons.txt"); // obsolete 
  1870. pref("signon.SignonFileName2",              "signons2.txt"); // obsolete
  1871. pref("signon.SignonFileName3",              "signons3.txt"); // obsolete
  1872. pref("signon.autofillForms",                true);
  1873. pref("signon.autologin.proxy",              false);
  1874. pref("signon.debug",                        false);
  1875.  
  1876. // Satchel (Form Manager) prefs
  1877. pref("browser.formfill.debug",            false);
  1878. pref("browser.formfill.enable",           true);
  1879. pref("browser.formfill.expire_days",      180);
  1880. pref("browser.formfill.saveHttpsForms",   true);
  1881. pref("browser.formfill.agedWeight",       2);
  1882. pref("browser.formfill.bucketSize",       1);
  1883. pref("browser.formfill.maxTimeGroupings", 25);
  1884. pref("browser.formfill.timeGroupingSize", 604800);
  1885. pref("browser.formfill.boundaryWeight",   25);
  1886. pref("browser.formfill.prefixWeight",     5);
  1887.  
  1888. // Zoom prefs
  1889. pref("browser.zoom.full", false);
  1890. pref("zoom.minPercent", 30);
  1891. pref("zoom.maxPercent", 300);
  1892. pref("toolkit.zoomManager.zoomValues", ".3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3");
  1893.  
  1894. // Image cache prefs
  1895. // The maximum size, in bytes, of the decoded images we cache
  1896. pref("image.cache.size", 5242880);
  1897. // A weight, from 0-1000, to place on time when comparing to size.
  1898. // Size is given a weight of 1000 - timeweight.
  1899. pref("image.cache.timeweight", 500);
  1900.  
  1901. // The default Accept header sent for images loaded over HTTP(S)
  1902. pref("image.http.accept", "image/png,image/*;q=0.8,*/*;q=0.5");
  1903.  
  1904. //
  1905. // Image memory management prefs
  1906. //
  1907.  
  1908. // Discards inactive image frames and re-decodes them on demand from
  1909. // compressed data.
  1910. pref("image.mem.discardable", true);
  1911.  
  1912. // Prevents images from automatically being decoded on load, instead allowing
  1913. // them to be decoded on demand when they are drawn.
  1914. pref("image.mem.decodeondraw", true);
  1915.  
  1916. // Minimum timeout for image discarding (in milliseconds). The actual time in
  1917. // which an image must inactive for it to be discarded will vary between this
  1918. // value and twice this value.
  1919. //
  1920. // This used to be 120 seconds, but having it that high causes our working
  1921. // set to grow very large. Switching it back to 10 seconds will hopefully
  1922. // be better.
  1923. pref("image.mem.min_discard_timeout_ms", 10000);
  1924.  
  1925. // Chunk size for calls to the image decoders
  1926. pref("image.mem.decode_bytes_at_a_time", 4096);
  1927.  
  1928. // The longest time we can spend in an iteration of an async decode
  1929. pref("image.mem.max_ms_before_yield", 5);
  1930.  
  1931. // The maximum source data size for which we auto sync decode
  1932. pref("image.mem.max_bytes_for_sync_decode", 150000);
  1933.  
  1934. // WebGL prefs
  1935. pref("webgl.force-enabled", false);
  1936. pref("webgl.disabled", false);
  1937. pref("webgl.shader_validator", true);
  1938. pref("webgl.force_osmesa", false);
  1939. pref("webgl.osmesalib", "");
  1940. pref("webgl.verbose", false);
  1941. pref("webgl.prefer-native-gl", false);
  1942. pref("webgl.min_capability_mode", false);
  1943. pref("webgl.disable-extensions", false);
  1944. pref("webgl.msaa-level", 2);
  1945. pref("webgl.msaa-force", false);
  1946.  
  1947. //@line 3306 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1948.  
  1949. // Whether to disable acceleration for all widgets.
  1950. //@line 3311 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1951. pref("layers.acceleration.disabled", false);
  1952. //@line 3313 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1953.  
  1954. // Whether to force acceleration on, ignoring blacklists.
  1955. pref("layers.acceleration.force-enabled", false);
  1956.  
  1957. pref("layers.acceleration.draw-fps", false);
  1958.  
  1959. //@line 3333 "/tmp/buildd/iceweasel-10.0.12esr/modules/libpref/src/init/all.js"
  1960.  
  1961. // Enable/Disable the geolocation API for content
  1962. pref("geo.enabled", true);
  1963.  
  1964. // Enable/Disable the orientation API for content
  1965. pref("device.motion.enabled", true);
  1966.  
  1967. // Toggle which thread the HTML5 parser uses for stream parsing
  1968. pref("html5.offmainthread", true);
  1969. // Time in milliseconds between the time a network buffer is seen and the 
  1970. // timer firing when the timer hasn't fired previously in this parse in the 
  1971. // off-the-main-thread HTML5 parser.
  1972. pref("html5.flushtimer.initialdelay", 120);
  1973. // Time in milliseconds between the time a network buffer is seen and the 
  1974. // timer firing when the timer has already fired previously in this parse.
  1975. pref("html5.flushtimer.subsequentdelay", 120);
  1976.  
  1977. // Push/Pop/Replace State prefs
  1978. pref("browser.history.allowPushState", true);
  1979. pref("browser.history.allowReplaceState", true);
  1980. pref("browser.history.allowPopState", true);
  1981. pref("browser.history.maxStateObjectSize", 655360);
  1982.  
  1983. // XPInstall prefs
  1984. pref("xpinstall.whitelist.required", true);
  1985. pref("extensions.alwaysUnpack", false);
  1986. pref("extensions.minCompatiblePlatformVersion", "2.0");
  1987.  
  1988. pref("network.buffer.cache.count", 24);
  1989. pref("network.buffer.cache.size",  32768);
  1990.  
  1991. // Desktop Notification
  1992. pref("notification.feature.enabled", false);
  1993.  
  1994. // Alert sliding effect
  1995. pref("alerts.slideIncrement", 1);
  1996. pref("alerts.slideIncrementTime", 10);
  1997. pref("alerts.totalOpenTime", 4000);
  1998. pref("alerts.disableSlidingEffect", false);
  1999.  
  2000. // DOM full-screen API.
  2001. pref("full-screen-api.enabled", false);
  2002. pref("full-screen-api.allow-trusted-requests-only", true);
  2003. pref("full-screen-api.key-input-restricted", true);
  2004. pref("full-screen-api.warning.enabled", true);
  2005.  
  2006. // Time limit, in milliseconds, for nsEventStateManager::IsHandlingUserInput().
  2007. // Used to detect long running handlers of user-generated events.
  2008. pref("dom.event.handling-user-input-time-limit", 1000);
  2009.  
  2010. //3D Transforms
  2011. pref("layout.3d-transforms.enabled", true);
  2012.  
  2013. // Battery API
  2014. pref("dom.battery.enabled", false);
  2015.